<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_09) on Sat Dec 29 12:31:13 CET 2012 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>GraphElementsController (gephi 0.8.2 API)</title>
<meta name="date" content="2012-12-29">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="GraphElementsController (gephi 0.8.2 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/GraphElementsController.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/gephi/datalab/api/DataLaboratoryHelper.html" title="class in org.gephi.datalab.api"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/gephi/datalab/api/SearchReplaceController.html" title="interface in org.gephi.datalab.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/gephi/datalab/api/GraphElementsController.html" target="_top">Frames</a></li>
<li><a href="GraphElementsController.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.gephi.datalab.api</div>
<h2 title="Interface GraphElementsController" class="title">Interface GraphElementsController</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public interface <span class="strong">GraphElementsController</span></pre>
<div class="block"><p>This interface defines part of the Data Laboratory API basic actions.</p>
 <p>It contains methods for manipulating the nodes and edges of the graph.</p>
 <p>All the provided methods take care to check first that the nodes and edges to manipulate are in the graph.</p></div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Eduardo Ramos <eduramiba@gmail.com></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#areEdgesInGraph(org.gephi.graph.api.Edge[])">areEdgesInGraph</a></strong>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</code>
<div class="block">Checks if an array of edges are contained in the main view graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#areNodesInGraph(org.gephi.graph.api.Node[])">areNodesInGraph</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Checks if an array of nodes are contained in the main view graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#canGroupNodes(org.gephi.graph.api.Node[])">canGroupNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Checks if an array of nodes can form a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#canMoveNodeToGroup(org.gephi.graph.api.Node, org.gephi.graph.api.Node)">canMoveNodeToGroup</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                  <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;group)</code>
<div class="block">Indicates if a given node can be moved to a group node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#canUngroupNode(org.gephi.graph.api.Node)">canUngroupNode</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Checks if the node can be ungrouped (it forms a group of nodes).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge(org.gephi.graph.api.Node, org.gephi.graph.api.Node, boolean)">createEdge</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdge(java.lang.String, org.gephi.graph.api.Node, org.gephi.graph.api.Node, boolean)">createEdge</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
          boolean&nbsp;directed)</code>
<div class="block">Creates and edge between source and target node (if it does not already exist), directed or undirected.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createEdges(org.gephi.graph.api.Node, org.gephi.graph.api.Node[], boolean)">createEdges</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
           <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;allNodes,
           boolean&nbsp;directed)</code>
<div class="block">Tries to create edges between the source node and all other edges, directed or undirected.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createNode(java.lang.String)">createNode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</code>
<div class="block">Creates a node with default id and the given label.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#createNode(java.lang.String, java.lang.String)">createNode</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
          <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</code>
<div class="block">Creates a node with the given id and label.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdge(org.gephi.graph.api.Edge)">deleteEdge</a></strong>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Tries to delete an edge checking first if it is on the graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdges(org.gephi.graph.api.Edge[])">deleteEdges</a></strong>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</code>
<div class="block">Tries to delete an array of edges checking first if they are on the graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdgesWithNodes(org.gephi.graph.api.Edge[], boolean, boolean)">deleteEdgesWithNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges,
                    boolean&nbsp;deleteSource,
                    boolean&nbsp;deleteTarget)</code>
<div class="block">Tries to delete an array of edges checking first if they are on the graph
 and also deletes their source and target node if it is indicated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteEdgeWithNodes(org.gephi.graph.api.Edge, boolean, boolean)">deleteEdgeWithNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge,
                   boolean&nbsp;deleteSource,
                   boolean&nbsp;deleteTarget)</code>
<div class="block">Tries to delete an edge checking first if it is on the graph
 and also deletes its source and target node if it is indicated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteNode(org.gephi.graph.api.Node)">deleteNode</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Tries to delete a node checking first if it is on the graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#deleteNodes(org.gephi.graph.api.Node[])">deleteNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to delete an array of nodes checking first if they are on the graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#duplicateNode(org.gephi.graph.api.Node)">duplicateNode</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Duplicates a node if it is in the graph, and returns the new node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#duplicateNodes(org.gephi.graph.api.Node[])">duplicateNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to duplicate an array of nodes with the same behaviour as <code>duplicateNode</code> method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getAvailableGroupsToMoveNodes(org.gephi.graph.api.Node[])">getAvailableGroupsToMoveNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Prepares and returns an array with the groups that the given nodes can be moved to.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getEdgesCount()">getEdgesCount</a></strong>()</code>
<div class="block">Returns the number of edges in the graph.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getNodeEdges(org.gephi.graph.api.Node)">getNodeEdges</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Prepares and returns an array with the edges incident to the specified node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getNodeNeighbours(org.gephi.graph.api.Node)">getNodeNeighbours</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Prepares and returns an array with the neighbour nodes of the specified node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#getNodesCount()">getNodesCount</a></strong>()</code>
<div class="block">Returns the number of nodes in the graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#groupNodes(org.gephi.graph.api.Node[])">groupNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Groups an array of nodes if it is possible.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isEdgeInGraph(org.gephi.graph.api.Edge)">isEdgeInGraph</a></strong>(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</code>
<div class="block">Checks if an edge is contained in the main view graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isNodeFixed(org.gephi.graph.api.Node)">isNodeFixed</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Checks the fixed state of a node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isNodeInGraph(org.gephi.graph.api.Node)">isNodeInGraph</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Checks if a node is contained in the main view graph.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#isNodeInGroup(org.gephi.graph.api.Node)">isNodeInGroup</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Checks if the node is in a group (has a parent).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#mergeNodes(org.gephi.graph.api.Node[], org.gephi.graph.api.Node, org.gephi.datalab.spi.rows.merge.AttributeRowsMergeStrategy[], boolean)">mergeNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
          <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;selectedNode,
          <a href="../../../../org/gephi/datalab/spi/rows/merge/AttributeRowsMergeStrategy.html" title="interface in org.gephi.datalab.spi.rows.merge">AttributeRowsMergeStrategy</a>[]&nbsp;mergeStrategies,
          boolean&nbsp;deleteMergedNodes)</code>
<div class="block">Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#moveNodesToGroup(org.gephi.graph.api.Node[], org.gephi.graph.api.Node)">moveNodesToGroup</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
                <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;group)</code>
<div class="block">Tries to move each node of the nodes array to the group node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#moveNodeToGroup(org.gephi.graph.api.Node, org.gephi.graph.api.Node)">moveNodeToGroup</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
               <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;group)</code>
<div class="block">Moves a node to a group of nodes if it is possible.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#removeNodeFromGroup(org.gephi.graph.api.Node)">removeNodeFromGroup</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Removes a node from its group if the node is in a group (has a parent).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#removeNodesFromGroup(org.gephi.graph.api.Node[])">removeNodesFromGroup</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to remove every node in the array from its group checking first they are in a group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#setNodeFixed(org.gephi.graph.api.Node, boolean)">setNodeFixed</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
            boolean&nbsp;fixed)</code>
<div class="block">Sets the fixed state of a node to the indicated.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#setNodesFixed(org.gephi.graph.api.Node[], boolean)">setNodesFixed</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
             boolean&nbsp;fixed)</code>
<div class="block">Sets the fixed state of an array of nodes to the indicated.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#ungroupNode(org.gephi.graph.api.Node)">ungroupNode</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Ungroups a node if it forms a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#ungroupNodeRecursively(org.gephi.graph.api.Node)">ungroupNodeRecursively</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</code>
<div class="block">Ungroups a node if it forms a group and also ungroups all its descendant.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#ungroupNodes(org.gephi.graph.api.Node[])">ungroupNodes</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to ungroup every node un the array of nodes checking first they form a group.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/gephi/datalab/api/GraphElementsController.html#ungroupNodesRecursively(org.gephi.graph.api.Node[])">ungroupNodesRecursively</a></strong>(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</code>
<div class="block">Tries to ungroup every node un the array of nodes checking first they form a group.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="createNode(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;createNode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label)</pre>
<div class="block">Creates a node with default id and the given label.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>label</code> - Label for the node</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new created node</dd></dl>
</li>
</ul>
<a name="createNode(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;createNode(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;label,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id)</pre>
<div class="block"><p>Creates a node with the given id and label.</p>
 <p>If a node with that id already exists, no node will be created</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>label</code> - Label for the node</dd><dd><code>id</code> - Id for the node</dd>
<dt><span class="strong">Returns:</span></dt><dd>The new created node or null if a node with the given id already exists</dd></dl>
</li>
</ul>
<a name="duplicateNode(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicateNode</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;duplicateNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block"><p>Duplicates a node if it is in the graph, and returns the new node.</p>
 <p>If the node has children, they are also copied as children of the new node.</p>
 <p>Sets the same properties and attributes for the node as the original node: id, label and <code>AttributeColumns</code> with <code>DATA</code> <code>AttributeOrigin</code>.
 Does not copy <code>AttributeColumns</code> with <code>COMPUTED</code> <code>AttributeOrigin</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to copy</dd>
<dt><span class="strong">Returns:</span></dt><dd>New node</dd></dl>
</li>
</ul>
<a name="duplicateNodes(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>duplicateNodes</h4>
<pre>void&nbsp;duplicateNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to duplicate an array of nodes with the same behaviour as <code>duplicateNode</code> method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to duplicate</dd></dl>
</li>
</ul>
<a name="createEdge(org.gephi.graph.api.Node, org.gephi.graph.api.Node, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
              <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
              boolean&nbsp;directed)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Source node</dd><dd><code>target</code> - Target node</dd><dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dt><span class="strong">Returns:</span></dt><dd>New edge if the edge was created succesfully, null otherwise</dd></dl>
</li>
</ul>
<a name="createEdge(java.lang.String, org.gephi.graph.api.Node, org.gephi.graph.api.Node, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdge</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;createEdge(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;id,
              <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
              <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;target,
              boolean&nbsp;directed)</pre>
<div class="block"><p>Creates and edge between source and target node (if it does not already exist), directed or undirected.</p>
 <p>If a edge with the given id already exists, no edge will be created.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Source node</dd><dd><code>target</code> - Target node</dd><dd><code>directed</code> - Indicates if the edge has to be directed</dd>
<dt><span class="strong">Returns:</span></dt><dd>New edge if the edge was created succesfully, null otherwise</dd></dl>
</li>
</ul>
<a name="createEdges(org.gephi.graph.api.Node, org.gephi.graph.api.Node[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEdges</h4>
<pre>void&nbsp;createEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;source,
               <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;allNodes,
               boolean&nbsp;directed)</pre>
<div class="block"><p>Tries to create edges between the source node and all other edges, directed or undirected.</p>
 <p>An edge won't be created if it already exists or is a self-loop.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>source</code> - Source node</dd><dd><code>allNodes</code> - All edges</dd><dd><code>directed</code> - Indicates if the edges have to be directed</dd></dl>
</li>
</ul>
<a name="deleteNode(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNode</h4>
<pre>void&nbsp;deleteNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Tries to delete a node checking first if it is on the graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to delete</dd></dl>
</li>
</ul>
<a name="deleteNodes(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteNodes</h4>
<pre>void&nbsp;deleteNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to delete an array of nodes checking first if they are on the graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to delete</dd></dl>
</li>
</ul>
<a name="deleteEdge(org.gephi.graph.api.Edge)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdge</h4>
<pre>void&nbsp;deleteEdge(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Tries to delete an edge checking first if it is on the graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Edge to delete</dd></dl>
</li>
</ul>
<a name="deleteEdges(org.gephi.graph.api.Edge[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdges</h4>
<pre>void&nbsp;deleteEdges(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</pre>
<div class="block">Tries to delete an array of edges checking first if they are on the graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edges</code> - Array of edges to delete</dd></dl>
</li>
</ul>
<a name="deleteEdgeWithNodes(org.gephi.graph.api.Edge, boolean, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdgeWithNodes</h4>
<pre>void&nbsp;deleteEdgeWithNodes(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge,
                       boolean&nbsp;deleteSource,
                       boolean&nbsp;deleteTarget)</pre>
<div class="block">Tries to delete an edge checking first if it is on the graph
 and also deletes its source and target node if it is indicated.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Edge to delete</dd><dd><code>deleteSource</code> - Indicates if the source node has to be deleted</dd><dd><code>deleteTarget</code> - Indicates if the target node has to be deleted</dd></dl>
</li>
</ul>
<a name="deleteEdgesWithNodes(org.gephi.graph.api.Edge[], boolean, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deleteEdgesWithNodes</h4>
<pre>void&nbsp;deleteEdgesWithNodes(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges,
                        boolean&nbsp;deleteSource,
                        boolean&nbsp;deleteTarget)</pre>
<div class="block">Tries to delete an array of edges checking first if they are on the graph
 and also deletes their source and target node if it is indicated.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edges</code> - Array of edges to delete</dd><dd><code>deleteSource</code> - Indicates if the source nodes have to be deleted</dd><dd><code>deleteTarget</code> - Indicates if the target nodes have to be deleted</dd></dl>
</li>
</ul>
<a name="groupNodes(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupNodes</h4>
<pre>boolean&nbsp;groupNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Groups an array of nodes if it is possible.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to group</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the nodes were succesfully grouped, false otherwise</dd></dl>
</li>
</ul>
<a name="canGroupNodes(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canGroupNodes</h4>
<pre>boolean&nbsp;canGroupNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Checks if an array of nodes can form a group.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the nodes can form a group, false otherwise</dd></dl>
</li>
</ul>
<a name="ungroupNode(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ungroupNode</h4>
<pre>boolean&nbsp;ungroupNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Ungroups a node if it forms a group.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to ungroup</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the node was succesfully ungrouped, false otherwise</dd></dl>
</li>
</ul>
<a name="ungroupNodes(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ungroupNodes</h4>
<pre>void&nbsp;ungroupNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to ungroup every node un the array of nodes checking first they form a group.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to ungroup</dd></dl>
</li>
</ul>
<a name="ungroupNodeRecursively(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ungroupNodeRecursively</h4>
<pre>boolean&nbsp;ungroupNodeRecursively(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Ungroups a node if it forms a group and also ungroups all its descendant.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to ungroup recursively</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the node was succesfully ungrouped, false otherwise</dd></dl>
</li>
</ul>
<a name="ungroupNodesRecursively(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ungroupNodesRecursively</h4>
<pre>void&nbsp;ungroupNodesRecursively(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to ungroup every node un the array of nodes checking first they form a group.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to ungroup</dd></dl>
</li>
</ul>
<a name="canUngroupNode(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canUngroupNode</h4>
<pre>boolean&nbsp;canUngroupNode(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Checks if the node can be ungrouped (it forms a group of nodes).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the node can be ungrouped, false otherwise</dd></dl>
</li>
</ul>
<a name="mergeNodes(org.gephi.graph.api.Node[], org.gephi.graph.api.Node, org.gephi.datalab.spi.rows.merge.AttributeRowsMergeStrategy[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mergeNodes</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;mergeNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
              <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;selectedNode,
              <a href="../../../../org/gephi/datalab/spi/rows/merge/AttributeRowsMergeStrategy.html" title="interface in org.gephi.datalab.spi.rows.merge">AttributeRowsMergeStrategy</a>[]&nbsp;mergeStrategies,
              boolean&nbsp;deleteMergedNodes)</pre>
<div class="block">Merges 2 or more nodes into a new one node that has all the edges of the merged nodes.
 An AttributeRowsMergeStrategy must be provided for each column of the nodes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Nodes to merge (at least 1)</dd><dd><code>selectedNode</code> - Main selected node of the nodes to merge (or null to use first node)</dd><dd><code>mergeStrategies</code> - Strategies to merge rows of each column of the nodes</dd><dd><code>deleteMergedNodes</code> - Indicates if merged nodes should be deleted</dd>
<dt><span class="strong">Returns:</span></dt><dd>New resulting node</dd></dl>
</li>
</ul>
<a name="moveNodeToGroup(org.gephi.graph.api.Node, org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveNodeToGroup</h4>
<pre>boolean&nbsp;moveNodeToGroup(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                      <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;group)</pre>
<div class="block">Moves a node to a group of nodes if it is possible.
 To move a node to a group node, they must be different, have the same parent and the node to be the group has to be a group of nodes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to move to group</dd><dd><code>group</code> - Group of nodes to move the node</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the node was moved, false otherwise</dd></dl>
</li>
</ul>
<a name="moveNodesToGroup(org.gephi.graph.api.Node[], org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveNodesToGroup</h4>
<pre>void&nbsp;moveNodesToGroup(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
                    <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;group)</pre>
<div class="block">Tries to move each node of the nodes array to the group node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to move</dd><dd><code>group</code> - Group node</dd></dl>
</li>
</ul>
<a name="getAvailableGroupsToMoveNodes(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAvailableGroupsToMoveNodes</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;getAvailableGroupsToMoveNodes(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block"><p>Prepares and returns an array with the groups that the given nodes can be moved to.</p>
 <p>These groups are the nodes that have the same parent as the given nodes and are not in the given nodes array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Nodes to get available groups to be moved</dd>
<dt><span class="strong">Returns:</span></dt><dd>Available groups array of null if the nodes don't all have the same parent</dd></dl>
</li>
</ul>
<a name="canMoveNodeToGroup(org.gephi.graph.api.Node, org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canMoveNodeToGroup</h4>
<pre>boolean&nbsp;canMoveNodeToGroup(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                         <a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;group)</pre>
<div class="block">Indicates if a given node can be moved to a group node.
 To move a node to a group, they must have the same parent and the group node has to be a group of nodes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to check if can be moved</dd><dd><code>group</code> - Group node</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if it can be moved, false otherwise</dd></dl>
</li>
</ul>
<a name="removeNodeFromGroup(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNodeFromGroup</h4>
<pre>boolean&nbsp;removeNodeFromGroup(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Removes a node from its group if the node is in a group (has a parent).
 Also breaks the group if the last node is removed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to remove from its group</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the node was removed from a group, false otherwise</dd></dl>
</li>
</ul>
<a name="removeNodesFromGroup(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeNodesFromGroup</h4>
<pre>void&nbsp;removeNodesFromGroup(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Tries to remove every node in the array from its group checking first they are in a group.
 Also breaks groups when the last node is removed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Arrays of nodes to remove from its group</dd></dl>
</li>
</ul>
<a name="isNodeInGroup(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNodeInGroup</h4>
<pre>boolean&nbsp;isNodeInGroup(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Checks if the node is in a group (has a parent).</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>True if the node is in a group, false otherwise</dd></dl>
</li>
</ul>
<a name="setNodeFixed(org.gephi.graph.api.Node, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodeFixed</h4>
<pre>void&nbsp;setNodeFixed(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node,
                boolean&nbsp;fixed)</pre>
<div class="block">Sets the fixed state of a node to the indicated.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to set fixed state</dd><dd><code>fixed</code> - Fixed state for the node</dd></dl>
</li>
</ul>
<a name="setNodesFixed(org.gephi.graph.api.Node[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNodesFixed</h4>
<pre>void&nbsp;setNodesFixed(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes,
                 boolean&nbsp;fixed)</pre>
<div class="block">Sets the fixed state of an array of nodes to the indicated.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to set fixed state</dd><dd><code>fixed</code> - Fixed state for the nodes</dd></dl>
</li>
</ul>
<a name="isNodeFixed(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNodeFixed</h4>
<pre>boolean&nbsp;isNodeFixed(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Checks the fixed state of a node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>Fixed state of the node</dd></dl>
</li>
</ul>
<a name="getNodeNeighbours(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeNeighbours</h4>
<pre><a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;getNodeNeighbours(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Prepares and returns an array with the neighbour nodes of the specified node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to get neighbours</dd>
<dt><span class="strong">Returns:</span></dt><dd>Array of neighbour nodes</dd></dl>
</li>
</ul>
<a name="getNodeEdges(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodeEdges</h4>
<pre><a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;getNodeEdges(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Prepares and returns an array with the edges incident to the specified node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to get edges</dd>
<dt><span class="strong">Returns:</span></dt><dd>Array of incident edges</dd></dl>
</li>
</ul>
<a name="getNodesCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNodesCount</h4>
<pre>int&nbsp;getNodesCount()</pre>
<div class="block">Returns the number of nodes in the graph.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Nodes count</dd></dl>
</li>
</ul>
<a name="getEdgesCount()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEdgesCount</h4>
<pre>int&nbsp;getEdgesCount()</pre>
<div class="block">Returns the number of edges in the graph.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Edges count</dd></dl>
</li>
</ul>
<a name="isNodeInGraph(org.gephi.graph.api.Node)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isNodeInGraph</h4>
<pre>boolean&nbsp;isNodeInGraph(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>&nbsp;node)</pre>
<div class="block">Checks if a node is contained in the main view graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>node</code> - Node to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the node is in the graph, false otherwise</dd></dl>
</li>
</ul>
<a name="areNodesInGraph(org.gephi.graph.api.Node[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>areNodesInGraph</h4>
<pre>boolean&nbsp;areNodesInGraph(<a href="../../../../org/gephi/graph/api/Node.html" title="interface in org.gephi.graph.api">Node</a>[]&nbsp;nodes)</pre>
<div class="block">Checks if an array of nodes are contained in the main view graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Array of nodes to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if all the nodes are in the graph, false otherwise</dd></dl>
</li>
</ul>
<a name="isEdgeInGraph(org.gephi.graph.api.Edge)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEdgeInGraph</h4>
<pre>boolean&nbsp;isEdgeInGraph(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>&nbsp;edge)</pre>
<div class="block">Checks if an edge is contained in the main view graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edge</code> - Edge to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if the edge is in the graph, false otherwise</dd></dl>
</li>
</ul>
<a name="areEdgesInGraph(org.gephi.graph.api.Edge[])">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>areEdgesInGraph</h4>
<pre>boolean&nbsp;areEdgesInGraph(<a href="../../../../org/gephi/graph/api/Edge.html" title="interface in org.gephi.graph.api">Edge</a>[]&nbsp;edges)</pre>
<div class="block">Checks if an array of edges are contained in the main view graph.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>edges</code> - Edges to check</dd>
<dt><span class="strong">Returns:</span></dt><dd>True if all the edges are in the graph, false otherwise</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/GraphElementsController.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/gephi/datalab/api/DataLaboratoryHelper.html" title="class in org.gephi.datalab.api"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/gephi/datalab/api/SearchReplaceController.html" title="interface in org.gephi.datalab.api"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/gephi/datalab/api/GraphElementsController.html" target="_top">Frames</a></li>
<li><a href="GraphElementsController.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007-2012 <a href="http://consortium.gephi.org">Gephi Consortium</a>. All Rights Reserved.</small></p>
</body>
</html>
